home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Money in the 90s
/
Money in the 90s - Windows (Laser Resources, Inc.)(1994).iso
/
inst.bat
< prev
next >
Wrap
DOS Batch File
|
1994-01-10
|
1KB
|
51 lines
@echo off
rem 2nd pass?
if (%0) == (hinst) goto HINST
if (%0) == (HINST) goto HINST
rem 1st pass!
if (%1) == () goto usage
if (%2) == () goto usage
if (%3) == () goto usage
md %2%3
%2
cd %2%3
copy %1\inst.bat %2%3\hinst.bat
hinst %1
rem This is pass 2 (goes to :HINST)
:HINST
copy %1\PKUNZIP.EXE
pkunzip -od %1\SI.ZIP %2%3
if errorlevel 1 goto ziperr
pkunzip -od %1\RESEARCH.ZIP %2%3
if errorlevel 1 goto ziperr
del PROGRAM\SIPATCH.200
ren PROGRAM\CONFIGA.BTR _CONFIGF.BTR
:zipdone
cls
echo Installation complete!
echo Please type SMART to begin using your program.
echo Thank you for purchasing our product.
goto done
:usage
echo To use this program, type:
echo INST s: d: \directory
echo Where s: is the floppy drive you're installing from (usually A:),
echo d: is the hard drive you're installing to (usually C:), and
echo \directory is the directory where the files will be installed
echo (e.g. \INVESTOR)
goto done
:ziperr
echo A diskette error occurred during installation...
echo .
echo You should contact Reality Technologies Technical Support for assistance.
:done